package com.crr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sku_stock")
@ApiModel("产品规格库存表")
public class SkuStock {
    @TableId(value = "stock_id",type = IdType.AUTO)
    Integer stockId;
    @TableField("sku_id")
    Integer skuId;
    @TableField("actual_stock")
    Integer actualStock;
    @TableField("lock_stock")
    Integer lockStock;
    Integer stock;
}
